
sum1=1
j=1
while j<=100:
    sum1+=j
    j+=2
print(sum1)

sum2=0
j=2
while j<=100:
    if j==88:
        j+=2
        continue

    sum2+=j
    j+=2
print(sum2)
print(sum1-sum2)